drawingarea: Clarify docs
authorBenjamin Otte <otte@redhat.com>
Wed, 19 Oct 2016 16:18:31 +0000 (18:18 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 27 Oct 2016 03:07:23 +0000 (05:07 +0200)
Don't use gdk_window_invalidate(), use gtk_widget_queue_draw().

gtk/gtkdrawingarea.c

index 999c95c48075492dcb64a1cb958d8b0e1b324482..786cded07e00de6b0943cc80b78820559478e87b 100644 (file)
  * Draw signals are normally delivered when a drawing area first comes
  * onscreen, or when it’s covered by another window and then uncovered.
  * You can also force an expose event by adding to the “damage region”
- * of the drawing area’s window; gtk_widget_queue_draw_area() and
- * gdk_window_invalidate_rect() are equally good ways to do this.
+ * of the drawing area’s window using gtk_widget_queue_draw_region(),
+ * gtk_widget_queue_draw_area() or gtk_widget_queue_draw().
  * You’ll then get a draw signal for the invalid region.
  *
  * The available routines for drawing are documented on the